@charset "utf-8";
/**** 全局定义 ****/
* {
    box-sizing: border-box;
}
html,body {
    height: 100%;
    margin: 0;
    font: 14px sans-serif;
}
input, select, textarea, button {
    padding: 6px;
    font: 1rem sans-serif;
    outline: none;
    border: 1px solid #9c9c9c;
    border-radius: 3px;
}
button,a {
    cursor: pointer;
    user-select: none;
}

/**** 细节设置 ****/
#app {
    width: 100%;
    height: 100%;
    background-color: #efefef;
    overflow: hidden;
}
/* 商家排序 */
header.seller-sort {
    height: 40px;
    background-color: #fff;
    border-bottom: 1px solid #cbcbcb;
    display: flex;
    justify-content: space-evenly;
    color: #666666;
}
header.seller-sort > div {
    height: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
header.seller-sort i.fa {
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    display: inline-block;
    transition: all 0.3s;
    margin-left: 4px;
    font-size: 1.2rem;
}
header.seller-sort i.fa.down {
    transform: rotate(90deg);
}
.drop-down{
    width: 100px;
    height: 200px;

    
  
}
main {
    height: calc(100% - 40px);
    padding-bottom: 50px;
    overflow-y: auto;
}
/* 商家数量显示 */
.seller-count {
    text-align: center;
    line-height: 1.8;
    color: #999999;
}
/* 商家列表面板 */
.seller-panel {
    padding: 5px 0 0 10px;
    background-color: #fff;
    border-bottom: 1px solid #cbcbcb;
    box-shadow: 0 10px 8px rgba(49, 51, 53, 0.2);
}
.seller-panel > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* 商家信息 */
.seller-panel .seller-info {
    padding: 10px;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #dadada;
}
.seller-panel .seller-info:last-child {
    border-bottom: 0;
}
/* 商家信息——商家图片 */
.seller-info .seller-image {
    width: 30%;
}
.seller-info .seller-image img {
    width: 100%;
}
/* 商家信息——商家简要信息 */
.seller-info .seller-brief {
    width: 68%;
    color: #666666;
}
.seller-info .seller-brief .seller-title {
    font-weight: bold;
    font-size: 1.3rem;
    color: #232323;
}
.seller-info .seller-brief .seller-title > span {
    display: inline-block;
    vertical-align: middle;
}
.seller-info .seller-brief .seller-title .self-taking {
    padding: 1px 4px;
    font-size: 0.9rem;
    border: 2px solid #06d027;
    color: #06d027;
    margin-left: 6px;
}
/* 评价/月售/时间/距离 */
.seller-info .seller-brief .seller-evaluation {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}
.seller-info .seller-brief .seller-evaluation > div {
    display: flex;
    flex-wrap: nowrap;
}
.seller-info .seller-brief .seller-evaluation .evaluation {
    margin-right: 8px;
}
.seller-info .seller-brief .seller-evaluation .evaluation i {
    font-size: 0.9rem;
    color: #ffd409;
    margin-right: -0.2rem;
}
/* 其它费用 */
.seller-info .seller-brief .other-expend {
    display: flex;
    margin-top: 6px;
}
/* 商家活动 */
.seller-info .seller-brief .activities {
    margin-top: 16px;
}
.seller-info .seller-brief .activities > p {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0.4rem 0;
}
.seller-info .seller-brief .activities .red,
.seller-info .seller-brief .activities .purple{
    padding: 2px 3px;
    display: inline-block;
    color: #ffffff;
    margin-right: 4px;
}
.seller-info .seller-brief .activities .red {
    background-color: #f85656;
}
.seller-info .seller-brief .activities .purple {
    background-color: #b251d9;
}
/* 添加商家按钮 */
button.btn-add-seller {
    width: 96%;
    padding: 12px;
    background-color: #ff8811;
    border: none;
    margin: 30px auto 20px;
    display: block;
    font-size: 1.2rem;
    color: #ffffff;
}
/* 面板开关动画 */
.slide-fade-enter-active {
    transition: all .6s ease;
}
.slide-fade-leave-active {
    transition: all .6s ease;
}
.slide-fade-enter, .slide-fade-leave-to {
    transform: translateX(100%);
}
/* 商家信息创建面板 */
.seller-info-add-panel {
    width: 100%;
    height: 100%;
    padding: 12px;
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    overflow-y: auto;
}
.seller-info-add-panel form > div {
    padding: 6px 2px;
    border-bottom: 1px solid #cbcbcb;
}
.seller-info-add-panel form > div:last-child {
    border-bottom: 0;
}
.seller-info-add-panel form > div > label {
    margin-left: 1.4rem;
}
.seller-info-add-panel form > div > label:first-child {
    width: 4rem;
    color: #888888;
    margin-left: 0;
    display: inline-block;
}
.seller-info-add-panel form > div input:not([type="radio"]) {
    width: calc(100% - 6rem);
    margin-left: 1rem;
    color: #131313;
    border: none;
}
.seller-info-add-panel form > div input[type="radio"] {
    width: 15px;
    height: 15px;
    position: relative;
    top: 3px;
}
.seller-info-add-panel form > div textarea {
    width: 100%;
    height: 5.4rem;
    border: none;
    resize: none;
}
/* 取消和确认添加商家信息按钮 */
.operate-btn {
    margin-top: 20px;
}
.operate-btn button {
    width: 100%;
    padding: 12px;
    background-color: #f9f9f9;
    border: 1px solid #cbcbcb;
    margin: 10px auto;
    display: block;
    font-size: 1.2rem;
}
.operate-btn button.btn-confirm {
    background-color: #2396fd;
    border: 1px solid #0f78d4;
    color: #ffffff;
}